package com.mbl.base.config.enums;


import com.baomidou.mybatisplus.core.enums.IEnum;

public enum BaseEnum implements IEnum {
    ONE(1, "一岁"),
    TWO(2, "二岁"),
    THREE(3, "三岁");

    private int code;
    private String str;

    BaseEnum(int code, String str) {
        this.code = code;
        this.str = str;
    }

    @Override
    public Integer getValue() {
        return this.code;
    }
}